package com.zhigongtech.tender.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.zhigongtech.extension.entry.DataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alan
 * @since 2019-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_office")
@ApiModel(value="Office对象", description="")
public class Office extends DataEntity<Office> {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "上级机构主键")
    private String parentId;
    
    @ApiModelProperty(value = "上级机构所有父级机构")
    private String parentIds;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "简称")
    private String shortName;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "机构类型：0-内部公司；1-外部供应商")
    private Integer type;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "用户属性ID")
    private String propertyId;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "删除标记")
    private String delFlag;


}
